package com.xuxueli.xxlrpc.remoting.invoker.generic;

import java.util.Objects;

/**
 * @Author：YH
 * @Description：
 * @Date:Created in 2022/5/30 23:17
 */
public interface XxlRpcGenericService {

    /**
     * generic invoke
     *
     * @param iface          iface name
     * @param version        iface version
     * @param method         method name
     * @param parameterTypes parameter types, limit base type like "int、java.lang.Integer、java.util.List、java.util
     *                       .Map ..."
     * @param args
     * @return
     */
    public Object invoke(String iface, String version, String method, String[] parameterTypes, Objects[] args);
}
